package org.scorpio.common.constant;

/**
 * <p>
 * Title:LoginEunm
 * </p>
 * <p>
 * Description:登录状态验证枚举类型
 * </p>
 * <p>
 * Company:
 * </p>
 * 
 * @author Li Enbo
 * @date 2017年11月7日下午5:36:10
 */
public enum LoginStatusEnum    {
	/** 登录成功 
	 * @return 
	 */
	SUCCESS(1000, "success"),
	/** 密码错误 */
	PWD_ERR(1001, "success"),
	/** 状态错误 */
	STATUS_ERR(1002, "success");

	private Integer code;
	private String msg;

	LoginStatusEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
